exports.handler = function(sids, query, callback) {
    console.log('cloud_battle:');
    var groupServerNum = 27;
    var groups = [];
    for (var i = groupServerNum, len = sids.length; i <= len; i += groupServerNum) {
        groups.push(+sids[i - 1]);
    }
    console.log(util.format('%j', groups));

    console.log('champsbattle:');
    groupServerNum = 8;
    groups = [];
    for (var i = groupServerNum, len = sids.length; i <= len; i += groupServerNum) {
        groups.push(+sids[i - 1]);
    }
    console.log(util.format('%j', groups));

    console.log('cloudarena:');
    groupServerNum = 27;
    groups = [];
    for (var i = groupServerNum, len = sids.length; i <= len; i += groupServerNum) {
        groups.push(+sids[i - 1]);
    }
    console.log(util.format('%j', groups));

    callback();
}

exports.help = function() {
    return [
        "无",
        "示云服的分组信息",
    ];
}

exports.batch = true;
